import { createApp } from 'vue'
import App from './App.vue'
import router from '@/router'
import '@/assets/base.scss'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const app = createApp(App)

// 引入router路由
app.use(router)

// 引入element-plus组件库，设置全局配置国际化
app.use(ElementPlus, { locale: zhCn })
app.mount('#app')
